﻿
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<ul>
    @foreach (var item in ViewData["products"] as List<Ch06_Controller.Models.Product>)
    {
        <li>@item.ProductName</li>
    }
</ul>